package com.cmyshare.design.abstractFactoryPattern;

/**
 * @version 1.0
 * @Author cmy
 * @Date 2023/10/9 18:03
 * @desc 6、IDog的实现类，ConcreteProduct：创建产品的实现类BlackCat、BlackDog、WhiteCat、WhiteDog
 */
public class WhiteDog implements IDog {
    /**
     * 抽象产品具体实现方法
     */
    @Override
    public void eat() {
        System.out.println("The white dog is eating!");
    }
}
